import React from 'react';
import Locale from './index';

/**
 * 国际化示例
 */
export default class DemoLocale extends React.Component {
  //构造函数
  constructor(props) {
    super(props);
    this.state = {
      count: 1000
    };
  }

  //界面渲染函数
  render() {
    const {count} = this.state;
    return (
      <div className="demo-locale">
        <div>
          <Locale className="select" />
        </div>
      </div>
    );
  }
}
